package org.deltaset.meta.internal.testvisit;

/**
 *
 * @author dmakariev
 */
public class AnimalDto {

    private final Animal animal;

    public Animal getAnimal() {
        return animal;
    }

    public AnimalDto() {
        this.animal = new Animal();
    }

    public AnimalDto(Animal animal) {
        this.animal = animal;
    }

    public void setWeight(Double weight) {
        animal.setWeight(weight);
    }

    public void setOrigin(String origin) {
        animal.setOrigin(origin);
    }

    public void setName(String name) {
        animal.setName(name);
    }

    public Double getWeight() {
        return animal.getWeight();
    }

    public String getOrigin() {
        return animal.getOrigin();
    }

    public String getName() {
        return animal.getName();
    }
}
